<!DOCTYPE html>
<html>
<head>
    <title>掌上作业管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1">
    <meta name="keywords" content="掌上作业管理平台">
    <meta name="description"
          content="">
    <link href="/stylesheets/bootstrap.css" rel="stylesheet"
          type="text/css" charset="utf-8">
    <link href="/stylesheets/bootstrap-responsive.css" rel="stylesheet"
          type="text/css" charset="utf-8">
    <link href="/stylesheets/style.css" rel="stylesheet"
          type="text/css" charset="utf-8">
</head>
<body>
<div class="reg-main">
    <header class="reg-header">
        <img src="images/reg-login/logo.png" alt="logo" style="padding-left: 20px;padding-top: 29px;">
        <div class="reg-rightIn">
            <img width="" src="images/reg-login/icon_app.png" alt="手机图标">
            <a href="">APP下载</a>
        </div>
    </header>
    <div class="reg-container">
        <div class="reg-login">
            <form id="login-form">
                <div id="reg-1" style="margin-left: 27px; display: block">
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon1"
                          style=" background-image: url(images/reg-login/icon_user.png);">
                    </span>
                        <input name="account" type="text" class="form-control login-input" style="width: 262px"
                               placeholder="用户名" aria-describedby="basic-addon1">
                    </div>
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon2"
                          style="background-image: url(images/reg-login/icon_password.png);">
                    </span>
                        <input name="password" type="password" class="form-control login-input" style="width: 262px"
                               placeholder="密码" aria-describedby="basic-addon2">
                        <input type="number" name="remember" hidden value=7200>
                    </div>
                    <button class="btn btn-primary" style="width: 300px;height: 42px;" type="button"
                            onclick="login_click()" id="login-button">
                        登录
                    </button>
                </div>
            </form>
            <form id="reg-form">
                <div id="reg-2" style="margin-left: 27px; display: none">
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon3"
                          style=" background-image: url(images/reg-login/phone.png);">
                    </span>
                        <input type="text" name="mobile" class="form-control login-input" style="width: 262px"
                               placeholder="手机号" aria-describedby="basic-addon3">
                    </div>
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon4"
                          style="background-image: url(images/reg-login/verification.png);">
                    </span>
                        <input type="text" class="form-control login-input" style="width: 152px"
                              name="code" placeholder="验证码" aria-describedby="basic-addon4">
                        <button class="btn btn-info" id="validate-button"
                                style="width: 100px;height:42px;margin-left: 10px;" type="button"
                                onclick="validate_click()">获取验证码
                        </button>
                    </div>
                    <button class="btn btn-primary" style="width: 300px;height: 42px;" type="button" id="reg-2-button"
                            onclick="reg_2_to_reg_3()">
                        下一步
                    </button>
                </div>
                <div id="reg-3" style="margin-left: 27px; display: none">
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon5"
                          style=" background-image: url(images/reg-login/icon_user.png);">
                    </span>
                        <input type="text" class="form-control login-input" style="width: 262px"
                               name="username" placeholder="用户名" aria-describedby="basic-addon5">
                    </div>
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon6"
                          style="background-image: url(images/reg-login/icon_password.png);">
                    </span>
                        <input type="password" class="form-control login-input" style="width: 262px"
                               name="password" placeholder="密码" aria-describedby="basic-addon6">
                    </div>
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon6"
                          style="background-image: url(images/reg-login/icon_password.png);">
                    </span>
                        <input type="password" class="form-control login-input" style="width: 262px"
                              name="password_repeat" placeholder="确认密码" aria-describedby="basic-addon6">
                    </div>
                    <input type="number" name="type" hidden value=2>
                    <button id="reg-click-button" class="btn btn-primary" style="width: 300px;height: 42px;" type="button" onclick="reg_click()">
                        完成，登录
                    </button>
                </div>
            </form>
            <form id="pwd-form">
                <div id="pwd-2" style="margin-left: 27px; display: none">
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon12"
                          style=" background-image: url(images/reg-login/icon_user.png);">
                    </span>
                        <input type="text" class="form-control login-input" style="width: 262px"
                               name="username" placeholder="用户名或手机号二选一填写即可" aria-describedby="basic-addon12">
                    </div>
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon10"
                          style=" background-image: url(images/reg-login/phone.png);">
                    </span>
                        <input type="text" name="mobile" class="form-control login-input" style="width: 262px"
                               placeholder="用户名或手机号二选一填写即可" aria-describedby="basic-addon10">
                    </div>
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon11"
                          style="background-image: url(images/reg-login/verification.png);">
                    </span>
                        <input type="text" class="form-control login-input" style="width: 152px"
                               name="code" placeholder="验证码" aria-describedby="basic-addon11">
                        <button class="btn btn-info" id="pwd-validate-button"
                                style="width: 100px;height:42px;margin-left: 10px;" type="button"
                                onclick="pwd_validate_click()">获取验证码
                        </button>
                    </div>
                    <button class="btn btn-primary" style="width: 300px;height: 42px;" type="button" id="reg-2-button"
                            onclick="pwd_2_to_pwd_3()">
                        下一步
                    </button>
                </div>
                <div id="pwd-3" style="margin-left: 27px; display: none">
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon13"
                          style="background-image: url(images/reg-login/icon_password.png);">
                    </span>
                        <input type="password" class="form-control login-input" style="width: 262px"
                               name="password" placeholder="密码" aria-describedby="basic-addon13">
                    </div>
                    <div class="input-group reg-login-div">
                    <span class="input-group-addon" id="basic-addon14"
                          style="background-image: url(images/reg-login/icon_password.png);">
                    </span>
                        <input type="password" class="form-control login-input" style="width: 262px"
                               name="password_repeat" placeholder="确认密码" aria-describedby="basic-addon14">
                    </div>
                    <input type="number" name="type" hidden value=2>
                    <button id="pwd-click-button" class="btn btn-primary" style="width: 300px;height: 42px;"
                            type="button" onclick="pwd_click()">
                        完成，登录
                    </button>
                </div>
            </form>
            <div id="reg-login-link" class="reg-link">
                <a id="password-find" href="javascript:void(0);" style="margin-right: 16px;"
                onclick="pwd_1_to_pwd_2()">忘记密码</a>
                <a id="reg-link-reg" href="javascript:void(0);"
                   onclick="reg_1_to_reg_2()">免费注册</a>
            </div>
        </div>
    </div>
    <footer>
        <div class="footer-inner">
            <p>参赛者院校：大连理工大学软件学院 地址：大连经济技术开发区图强街321号</p>
            <p>前端Email：1125605844@qq.com 　电话：18340853568</p>
        </div>
    </footer>
</div>
</body>
<script src="/javascripts/jquery.js"></script>
<script src="/javascripts/jquery.cookie.js"></script>
<script src="/javascripts/bootstrap.js"></script>
<script src="/javascripts/script.js"></script>
</html>